package com.itheima.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "usersound")
public class UserSound implements Serializable
{
    Long userId;//用户的ID
    Integer remaingTimes;//每个用户剩余次数
}
